cmake_minimum_required (VERSION 2.6)
project (unit_test_sgl)

SET(entities_sources
	box2d.cpp 
	box3d.cpp 
	direction2d.cpp 
	direction3d.cpp 
	hyper_ellipsoid2d.cpp 
	hyper_ellipsoid3d.cpp 
	hyper_sphere2d.cpp 
	hyper_sphere3d.cpp 
	line2d.cpp 
	line3d.cpp 
	line_segment2d.cpp 
	line_segment3d.cpp 
	point2d.cpp 
	point3d.cpp 
	polygon2d.cpp 
	polygon3d.cpp 
	quadrilateral2d.cpp 
	quadrilateral3d.cpp 
	triangle2d.cpp 
	triangle3d.cpp 
	ray2d.cpp 
	ray3d.cpp 
	vector2d.cpp 
	vector3d.cpp
	)

SET(algorithms_sources
	area2d.cpp 
	bounding_box2d.cpp 
	bounding_box3d.cpp 
	moments2d.cpp 
	squared_length2d.cpp 
	squared_length3d.cpp
	)

source_group(entities FILES ${entities_sources})
source_group(algorithms FILES ${algorithms_sources})
add_executable(unit_test_sgl runner.cpp ${entities_sources} 
	${algorithms_sources})
